package com.repository;

import com.entity.TokenEntity;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TokenRepository extends JpaRepository<TokenEntity, Integer> {

    TokenEntity findByEmail(String email);

    TokenEntity findByToken(String token);
}
